import http from "@/utils/http";
export function getAdress(){
  return http({url:"/member/address"})
}
export function postAdress(data){
  return http({url:"/member/address",method:"post",data})
}
export function deleteAdress(data){
  return http({url:`/member/address/${data}`,method:"delete"})
}
export function updateAdress(data){
  console.log(data)
  return http({url:`/member/address/${data.id}`,method:"put",data})
}
export function getMessage(id){
  return http({url:`/member/address/${id}`})
}